/**
 * @author zc
 * @date 2023-03-07 23:42
 */
public class SynchronizedDemo {
    public void method(){
        synchronized (this){
            System.out.println("synchronized---code");
        }
    }
}
